package com.api.shopapi.service;

import com.api.shopapi.entity.JKXuetang;
import com.api.shopapi.entity.dto.JKXuetangDTO;
import com.github.pagehelper.PageInfo;
import org.springframework.stereotype.Service;

@Service
public interface JKXuetangService {

    int insert(JKXuetang jkXuetang);

    int update(JKXuetang jkXuetang);

    int delete(String jkXuetangCode);

    JKXuetang getByJkXuetangCode(String jkXuetangCode);

    PageInfo<JKXuetang> getPageList(int pageIndex,int pageSize,String userCode,String startTime,String endTime);


    PageInfo<JKXuetangDTO> getAdmPageList(int pageIndex, int pageSize, String name, String governmentCode, String startTime, String endTime);



}
